#include "pch.h"
#include "DeferredShaderDemo.h"
#include "Scene.h"
#include "RendererEngine.h"
#include "renderer.h"
#include "RendererEngine.h"

CDeferredShaderDemo::CDeferredShaderDemo()
{

}

CDeferredShaderDemo::~CDeferredShaderDemo()
{
}

void CDeferredShaderDemo::init(mini::CEngine* pEngine)
{
	auto pRenderer = mini::CRendererEngine::getSinglePtr();
	if (nullptr != pRenderer)
	{
		pRenderer->removeRenderer(mini::RendererType::FrontRenderer);
		pRenderer->addRenderer(mini::RendererType::DeferredRenderer);
	}
}
